import React, {Component} from 'react';
import propTypes from 'prop-types'

class NavBar2 extends Component {
    render() {
        const {children} = this.props
        console.log(children)
        return (
            <div>
                <div className="right">{children}</div>
            </div>
        );
    }
}

NavBar2.propTypes = {
    children: propTypes.element
}
export default NavBar2;